list = list->next;
- /* If a tag begins at the insertion point, ignore it
+ /* If a tag starts at the insertion point, ignore it
* because it doesn't affect the pasted text
*/
- if (gtk_text_iter_begins_tag (iter, tag))
+ if (gtk_text_iter_starts_tag (iter, tag))
split_tags = g_slist_remove (split_tags, tag);
}
* Note that if gtk_text_iter_ends_tag() returns %TRUE, it means that @iter is
* at the end of the tagged range, but that the character
* at @iter is outside the tagged range. In other words,
- * unlike gtk_text_iter_begins_tag(), if gtk_text_iter_ends_tag() returns %TRUE,
+ * unlike gtk_text_iter_starts_tag(), if gtk_text_iter_ends_tag() returns %TRUE,
* gtk_text_iter_has_tag() will return %FALSE for the same parameters.
*
* Returns: whether @iter is the end of a range tagged with @tag
* @iter: an iterator
* @tag: (allow-none): a #GtkTextTag, or %NULL
*
- * This is equivalent to (gtk_text_iter_begins_tag() ||
+ * This is equivalent to (gtk_text_iter_starts_tag() ||
* gtk_text_iter_ends_tag()), i.e. it tells you whether a range with
* @tag applied to it begins or ends at @iter.
*
* @tag: a #GtkTextTag
*
* Returns %TRUE if @iter points to a character that is part of a range tagged
- * with @tag. See also gtk_text_iter_begins_tag() and gtk_text_iter_ends_tag().
+ * with @tag. See also gtk_text_iter_starts_tag() and gtk_text_iter_ends_tag().
*
* Returns: whether @iter is tagged with @tag
**/
last_offset = this_offset;
- if (gtk_text_iter_begins_tag (&iter, tag))
+ if (gtk_text_iter_starts_tag (&iter, tag))
{
if (state)
g_error ("Tag %p is already on, and was toggled on?", tag);
last_offset = this_offset;
- if (gtk_text_iter_begins_tag (&iter, tag))
+ if (gtk_text_iter_starts_tag (&iter, tag))
{
if (!state)
g_error ("Tag %p wasn't on when we got to the on toggle going backward?", tag);